package com.entity;

import java.io.Serializable;

/**
 * housestatus
 * @author 
 */
public class Housestatus implements Serializable {
    private Integer housestatusid;

    private String housestatus;

    private static final long serialVersionUID = 1L;

    public Integer getHousestatusid() {
        return housestatusid;
    }

    public void setHousestatusid(Integer housestatusid) {
        this.housestatusid = housestatusid;
    }

    public String getHousestatus() {
        return housestatus;
    }

    public void setHousestatus(String housestatus) {
        this.housestatus = housestatus;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Housestatus other = (Housestatus) that;
        return (this.getHousestatusid() == null ? other.getHousestatusid() == null : this.getHousestatusid().equals(other.getHousestatusid()))
            && (this.getHousestatus() == null ? other.getHousestatus() == null : this.getHousestatus().equals(other.getHousestatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getHousestatusid() == null) ? 0 : getHousestatusid().hashCode());
        result = prime * result + ((getHousestatus() == null) ? 0 : getHousestatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", housestatusid=").append(housestatusid);
        sb.append(", housestatus=").append(housestatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}